package graphs;

import java.util.HashMap;
import java.util.HashSet;

public class  Graph {
    //图就是点和边构成的集合
    public HashMap<Integer,Node> nodes; //Integer是节点值  Node是节点
    public HashSet<Edge> edges;

    public Graph() {
        nodes=new HashMap<>();
        edges=new HashSet<>();
    }
}
